package com.example.bookdev.config;


import lombok.Data;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 配置文件读取
 *
 * @author 86183
 */
@Configuration
@Data
@Component
public class AlipayConfig {

    /**
     * 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
     */
    private String appId = "9021000135613743";

    /**
     * 商户私钥，您的PKCS8格式RSA2私钥
     */
    private String privateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDwVGGk1FMcc4BSZcYB6pNQVMD/VqUiRgEIAOI/9n05w1pTzaFiO8/ETlWT4Bw36rf+YQTED90hb6GYTNYAj9uvlhMHlNBg5iDC6VAQlO6kptzk4uCwXnDPV9CQvvDS6RtFwk9eaATNxukQxvpRyDfo8mKfyD1HK4wmm7XV+cCBZPvcYdIUApMVA/JQ348sBhGrvXwH9DXCoHc9zRQ0imcklwvJHp1IRKY4dEgs1g5o5Qx9t9KhpQRaqG1/4H25d7NrJ1OXtSt3n0UIzbYfY77vmqFcKbxUuJLa69xQ3R59x1MEf4ExTZxqt8k1O4Od+6k5aukRlLPJAOUyCpxeHOSTAgMBAAECggEAEF2+tIndCw/2iiXyIQlHdO4AoqLU5gucYF4nCjIP/xIFobVcKyNll7m57DMT2N78Hq+esndeGLvQZl29KRai4Ec5Dogc1Kx3SK64zBhIVCAk5NVqdbhIuGYDhwfpwIMtX0fHPeeZhCXqk0DppQ4ceJmhC76IJcOabLqn3GWArY8AKJXMnos2LRpPjbFgF9YiGAJyHBh6wrZS8O2EMBzV4W5eJ3Cg7tdD1lK3BclOIFYROxDqK1NecNHgBNBhqMdAHRaajwX4gKvfzUV1S455kUGNqrKMaZl9fkmPBM8DV65wt4vqWrqdyIYKDMHSr/ig/oc6tb5RvJqgryiBCuXEWQKBgQD+Yt9UR1N1MEKinXQws5BNhBNg5ritJ9HBtjMe6ZCANnXJYJn58D0wwcjO0EBxhV8/jwqfFIXRi+QUgSaXrF5nOBb+oxjWgJHczjgAdQA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schUy2AG3zOoBHa3RY0tCJ3xGeM49JZJxu8vE1YYh9hg0FJEuyy0QeWTDNh6WgnGMudcYQ7AYtN5IFPU24QhW221qqZmoLVaw5N3o6t87Vf6Vy7cwKl9TJwgHHbw+wIDAQAB";

    /**
     * 服务器异步通知页面路径需http://格式的完整路径，不能加?id=123这类自定义参数
     */
    private String notifyUrl = "http://77srz5.natappfree.cc/book-dev/payOrder";

    /**
     * 页面跳转同步通知页面路径 需http://格式的完整路径.
     * 支付完成后返回的地址
     */
    private String returnUrl = "http://localhost:5173/Car";

    /**
     * 签名方式
     */
    private String signType = "RSA2";

    /**
     * 字符编码格式
     */
    private String charset = "utf-8";

    /**
     * 支付宝网关
     */
    private String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

    /**
     * 支付宝日志
     */
    private String logPath = "D:\\毕设\\无用\\log";
}



